import { expect, test } from 'vitest'
import * as exports from './index'

test('exports', () => {
  expect(Object.keys(exports)).toMatchInlineSnapshot(`
    [
      "getAccount",
      "watchAccount",
      "fetchBalance",
      "fetchBalances",
      "connect",
      "disconnect",
      "fetchFormattedBalance",
      "fetchAccountResource",
      "fetchAccountResources",
      "createAccountResourceFilter",
      "coinStoreResourcesFilter",
      "signMessage",
      "fetchAnsAddress",
      "fetchAnsName",
      "mainnet",
      "devnet",
      "testnet",
      "defaultChains",
      "defaultChain",
      "Client",
      "client",
      "createClient",
      "getClient",
      "fetchCoin",
      "wrapCoinInfoTypeTag",
      "COIN_STORE_TYPE_PREFIX",
      "wrapCoinStoreTypeTag",
      "PetraConnector",
      "Connector",
      "WalletAdapterNetwork",
      "APTOS_COIN",
      "APT",
      "ConnectorAlreadyConnectedError",
      "ConnectorNotFoundError",
      "ChainNotConfiguredError",
      "ChainMismatchError",
      "ConnectorUnauthorizedError",
      "SimulateTransactionError",
      "RpcError",
      "WalletProviderError",
      "UserRejectedRequestError",
      "fetchLedgerInfo",
      "getNetwork",
      "watchNetwork",
      "getProvider",
      "watchProvider",
      "getDefaultProviders",
      "noopStorage",
      "createStorage",
      "fetchTableItem",
      "sendTransaction",
      "simulateTransaction",
      "isUserTransaction",
      "isPendingTransaction",
      "isAccountAddress",
      "isStructTag",
      "unwrapTypeFromString",
      "unwrapTypeArgFromString",
      "isHexStringEquals",
      "parseVmStatusError",
      "fetchAptosView",
      "HexString",
    ]
  `)
})
